'use strict';

function collect_max_number(collection) {

  let maxNum=collection.reduce(
    (a,b)=>Math.max(a,b)
  );
  return maxNum;
  
}

module.exports = collect_max_number;
